package com.smarthome.domain.ipc.req;

import org.springframework.beans.factory.annotation.Required;

import com.smarthome.domain.ipc.IpcRequest;

/**
 * 小区门禁请求对象。
 * 
 * 
 * @author KongXiangyu
 * 
 * @since 1.0
 */
public class IpcResidenceDoorRequest extends IpcRequest {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String deviceId;// 设备id(摆闸序号)

	private String ip;// 设备ip.必填项 add by denghw 2015/11/22
	private int port;// 设备端口号.必填项 add by denghw 2015/11/22

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getIp() {
		return ip;
	}

	@Required
	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	@Required
	public void setPort(int port) {
		this.port = port;
	}

}
